﻿@model Janus.Mes.VO.SysConfigVO

@{
    Layout = null;
    var i = 1;
    ViewBag.ViewTitle = "水平管理—参数管理";
}
<div class="pageContent">
    <form method="post" action="System/SysConfig/create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="56">
            <input id="hidIsCreate" name="hidIsCreate" type="hidden" value="@ViewBag.IsCreate" />
            @Html.HiddenFor(model => model.Id)
            <p>
                <label>
                    所属检验水平：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Key, new { @Readonly = "true", @Value = "IP1001" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Key)
            </p>
            <div class="tabsContent" style="height: 150px;">
                <div inited="1000" style="display: block;">
                    <div class="button"><div class="buttonContent"><button type="button">新建从表1条目</button></div></div><input type="text" name="dwz_rowNum" class="textInput valid" style="margin:2px;" value="1" size="2"><table class="list nowrap itemDetail" addbutton="新建从表1条目" width="100%" style="clear: both;">
                        <thead>
                            <tr>
                                <th type="text" name="items[#index#].itemString" size="12" fieldclass="required" fieldattrs="{remote:'validate_remote.html', maxlength:10}">从字符串</th>
                                <th type="text" name="items[#index#].itemInt" defaultval="#index#" size="12" fieldclass="digits">从整数</th>
                                <th type="text" name="items[#index#].itemFloat" defaultval="0.8" size="12" fieldclass="number">从浮点</th>
                                <th type="date" name="items[#index#].itemDate" defaultval="2011-12-28" size="12">从日期</th>
                                <th type="date" format="yyyy-MM-dd HH:mm:ss" name="items[#index#].itemDataTime" size="16">从日期时间</th>
                                <th type="lookup" name="items[#index#].org.orgName" lookupgroup="items[#index#].org" lookupurl="demo/database/dwzOrgLookup.html" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgName" postfield="keywords" size="12" fieldclass="required">部门名称</th>
                                <th type="enum" name="items[#index#].itemEnum" enumurl="demo/database/db_select.html" size="12">从枚举</th>
                                <th type="attach" name="items[#index#].attachment.fileName" lookupgroup="items[#index#].attachment" lookupurl="demo/database/db_attachmentLookup.html" size="12">从附件</th>
                                <th type="del" width="60">操作</th>
                            </tr>
                        </thead>
                        <tbody>

                            <tr class="unitBox"><td><input type="text" name="items[0].itemString" value="" size="12" class="required textInput valid" remote="validate_remote.html" maxlength="10"></td><td><input type="text" name="items[0].itemInt" value="#index#" size="12" class="digits textInput"></td><td><input type="text" name="items[0].itemFloat" value="0.8" size="12" class="number textInput"></td><td><input type="text" name="items[0].itemDate" value="2011-12-28" class="date  textInput" datefmt="yyyy-MM-dd" size="12"><a class="inputDateButton" href="javascript:void(0)">选择</a></td><td><input type="text" name="items[0].itemDataTime" value="" class="date  textInput" datefmt="yyyy-MM-dd" size="16"><a class="inputDateButton" href="javascript:void(0)">选择</a></td><td><input type="hidden" name="items[0].org.id"><input type="text" name="items[0].org.orgName" autocomplete="off" lookupgroup="items[0].org" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgName" postfield="keywords" lookuppk="id" size="12" class="required textInput"><a class="btnLook" href="demo/database/dwzOrgLookup.html" lookupgroup="items[0].org" autocomplete="off" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgName" postfield="keywords" lookuppk="id" title="查找带回">查找带回</a></td><td> <noframes> &lt;body&gt;Your browse does not support frame!&lt;/body&gt; </noframes>  </td><td><input type="hidden" name="items[0].attachment.id"><input type="text" name="items[0].attachment.fileName" size="12" readonly="readonly" class="textInput readonly"><a class="btnAttach" href="demo/database/db_attachmentLookup.html" lookupgroup="items[0].attachment" lookuppk="id" width="560" height="300" title="查找带回">查找带回</a></td><td><a href="javascript:void(0)" class="btnDel ">删除</a></td></tr>
                            <tr class="unitBox"><td><input type="text" name="items[1].itemString" value="" size="12" class="required textInput" remote="validate_remote.html" maxlength="10"></td><td><input type="text" name="items[1].itemInt" value="#index#" size="12" class="digits textInput"></td><td><input type="text" name="items[1].itemFloat" value="0.8" size="12" class="number textInput"></td><td><input type="text" name="items[1].itemDate" value="2011-12-28" class="date  textInput" datefmt="yyyy-MM-dd" size="12"><a class="inputDateButton" href="javascript:void(0)">选择</a></td><td><input type="text" name="items[1].itemDataTime" value="" class="date  textInput" datefmt="yyyy-MM-dd" size="16"><a class="inputDateButton" href="javascript:void(0)">选择</a></td><td><input type="hidden" name="items[1].org.id"><input type="text" name="items[1].org.orgName" autocomplete="off" lookupgroup="items[1].org" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgName" postfield="keywords" lookuppk="id" size="12" class="required textInput"><a class="btnLook" href="demo/database/dwzOrgLookup.html" lookupgroup="items[1].org" autocomplete="off" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgName" postfield="keywords" lookuppk="id" title="查找带回">查找带回</a></td><td> <noframes> &lt;body&gt;Your browse does not support frame!&lt;/body&gt; </noframes>  </td><td><input type="hidden" name="items[1].attachment.id"><input type="text" name="items[1].attachment.fileName" size="12" readonly="readonly" class="textInput readonly"><a class="btnAttach" href="demo/database/db_attachmentLookup.html" lookupgroup="items[1].attachment" lookuppk="id" width="560" height="300" title="查找带回">查找带回</a></td><td><a href="javascript:void(0)" class="btnDel ">删除</a></td></tr>
                            <tr class="unitBox"><td><input type="text" name="items[2].itemString" value="" size="12" class="required textInput" remote="validate_remote.html" maxlength="10"></td><td><input type="text" name="items[2].itemInt" value="#index#" size="12" class="digits textInput"></td><td><input type="text" name="items[2].itemFloat" value="0.8" size="12" class="number textInput"></td><td><input type="text" name="items[2].itemDate" value="2011-12-28" class="date  textInput" datefmt="yyyy-MM-dd" size="12"><a class="inputDateButton" href="javascript:void(0)">选择</a></td><td><input type="text" name="items[2].itemDataTime" value="" class="date  textInput" datefmt="yyyy-MM-dd" size="16"><a class="inputDateButton" href="javascript:void(0)">选择</a></td><td><input type="hidden" name="items[2].org.id"><input type="text" name="items[2].org.orgName" autocomplete="off" lookupgroup="items[2].org" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgName" postfield="keywords" lookuppk="id" size="12" class="required textInput"><a class="btnLook" href="demo/database/dwzOrgLookup.html" lookupgroup="items[2].org" autocomplete="off" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgName" postfield="keywords" lookuppk="id" title="查找带回">查找带回</a></td><td> <noframes> &lt;body&gt;Your browse does not support frame!&lt;/body&gt; </noframes>  </td><td><input type="hidden" name="items[2].attachment.id"><input type="text" name="items[2].attachment.fileName" size="12" readonly="readonly" class="textInput readonly"><a class="btnAttach" href="demo/database/db_attachmentLookup.html" lookupgroup="items[2].attachment" lookuppk="id" width="560" height="300" title="查找带回">查找带回</a></td><td><a href="javascript:void(0)" class="btnDel ">删除</a></td></tr>
                        </tbody>
                    </table>
                </div>
                <div style="display: none;">
                    <div class="button"><div class="buttonContent"><button type="button">新建从表2条目</button></div></div><input type="text" name="dwz_rowNum" class="textInput" style="margin:2px;" value="1" size="2"><table class="list nowrap itemDetail" addbutton="新建从表2条目" width="100%" style="clear: both;">
                        <thead>
                            <tr>
                                <th type="text" name="items.itemString[#index#]" size="12" fieldclass="required">从字符串</th>
                                <th type="text" name="items.itemInt[#index#]" size="12" fieldclass="digits">从整数</th>
                                <th type="text" name="items.itemFloat[#index#]" size="12" fieldclass="number">从浮点</th>
                                <th type="date" name="items.itemDate[#index#]" size="12">从日期</th>
                                <th type="date" format="yyyy-MM-dd HH:mm:ss" name="items.itemDataTime[#index#]" size="16">从日期时间</th>
                                <th type="lookup" name="items.org.orgName[#index#]" lookupgroup="items.org" lookupurl="demo/database/dwzOrgLookup.html" lookuppk="orgNum" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgNum,orgName" size="12">部门名称</th>
                                <th type="enum" name="items.itemEnum[#index#]" enumurl="demo/database/db_select.html" size="12">从枚举</th>
                                <th type="attach" name="items.attachment.fileName[#index#]" lookupgroup="items.attachment" lookupurl="demo/database/db_attachmentLookup.html" size="12">从附件</th>
                                <th type="del" width="60">操作</th>
                            </tr>
                        </thead>
                        <tbody></tbody>
                    </table>
                </div>
                <div style="display: none;">
                    <div class="button"><div class="buttonContent"><button type="button">新建从表3条目</button></div></div><input type="text" name="dwz_rowNum" class="textInput" style="margin:2px;" value="1" size="2"><table class="list nowrap itemDetail" addbutton="新建从表3条目" width="100%" style="clear: both;">
                        <thead>
                            <tr>
                                <th type="text" name="items.itemString[]" size="12" fieldclass="required">从字符串</th>
                                <th type="text" name="items.itemInt[]" size="12" fieldclass="digits">从整数</th>
                                <th type="text" name="items.itemFloat[]" size="12" fieldclass="number">从浮点</th>
                                <th type="date" name="items.itemDate[]" size="12">从日期</th>
                                <th type="date" format="yyyy-MM-dd HH:mm:ss" name="items.itemDataTime[]" size="16">从日期时间</th>
                                <th type="lookup" name="items.org.orgName[]" lookupgroup="items.org" lookupurl="demo/database/dwzOrgLookup.html" suggesturl="demo/database/db_lookupSuggest.html" suggestfields="orgName" size="12">部门名称</th>
                                <th type="enum" name="items.itemEnum[]" enumurl="demo/database/db_select.html" size="12">从枚举</th>
                                <th type="attach" name="items.attachment.fileName[]" lookupgroup="items.attachment" lookupurl="demo/database/db_attachmentLookup.html" size="12">从附件</th>
                                <th type="del" width="60">操作</th>
                            </tr>
                        </thead>
                        <tbody></tbody>
                    </table>
                </div>
            </div>
            @Html.Partial("Operation", Model)
        </div>
        @Html.Partial("FormButtonBar")
    </form>
</div>
